#!/usr/bin/env python
# encoding: utf-8

from django.conf.urls import url

from . import views

app_name = 'Account'
urlpatterns = [
    url(r'^$', views.IndexView.as_view(), name='home'),
    url(r'^(?P<pk>[0-9]+)/$', views.PositionView, name='position'),
    url(r'^query/records/(?P<pk>[0-9]+)/', views.QueryRecords),
    url(r'^query/has/(?P<code>[0-9]+)/', views.QueryHasStock),
    url(r'^commit/order/', views.InsertOrder),
]
